package com.hongdee.crm.statistics.service;

import java.util.List;
import java.util.Map;

/**
 * 流失统计
 */
public interface ITCrmLossStatisticsService {

    /**
     * 流失客户未进店统计分析
     * @param uid
     * @param time
     * @return
     */
    public List<Map<String,Object>> lossCustomerNotInStoreStatistics(String uid,String time,String companyId,String area,
                                                                     String brand) throws Exception;

    /**
     * 在外保养原因统计分析
     * @param uid
     * @param time
     * @return
     * @throws Exception
     */
    public List<Map<String,Object>> lossCustomerOutsideMaintenStatistics(String uid,String time,String companyId,String area,
                                                                         String brand) throws Exception;

    /**
     * 流失地点统计分析
     * @param uid
     * @param time
     * @return
     * @throws Exception
     */
    public List<Map<String,Object>> lossPlace(String uid,String time,String companyId,String area,
                                                                         String brand) throws Exception;
}
